package com.shanzmoo.db.store.entity.vo;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 库存盘点单 vo对象
 *
 * @author fs 2021-03-09
 */
@Data
@ApiModel("库存盘点单-vo询对象")
public class StoreStockCheckBillVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "流水ID")
    private Integer id;

    @ApiModelProperty(value = "单号")
    private String billNo;

    @ApiModelProperty(value = "状态：0-待审核,1-待盘点,2-已录入,3-盘点完成,9-已取消")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "盘点人")
    private Integer checkUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "盘点时间")
    private LocalDateTime checkTime;

    @ApiModelProperty(value = "备注")
    private String checkRemark;

    @ApiModelProperty(value = "审批人")
    private Integer examineUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "审批时间")
    private LocalDateTime examineTime;

    @ApiModelProperty(value = "取消理由")
    private String cancelReason;

    @ApiModelProperty(value = "创建人")
    private Integer createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "审批人")
    private String examineUserName;

    @ApiModelProperty(value = "盘点人")
    private String checkUserName;

    @ApiModelProperty(value = "创建人")
    private String createUserName;

    @ApiModelProperty(value = "明细")
    private List<StoreStockCheckBillDetailVO> details;
}
